<div class="title"><h3 class="h3title">任务详细</h3></div>
<div class="formbox" id="content_box">
    <ul>
        <form action="/jobs/dd_task_id_{{task_id}}" method="post" id="edit_task" onsubmit="TaskEditPost();return false;">  
               {% if task.state != 4 %}
			<input type="BUTTON" onclick="quickFinish({{task_id}});return false;" value="我完成了,帮我自动修改进度和状态"> 
                     {% endif %}
        {% for field in form %}
        <li>{{field.label}}<br/>{{field}}</li>
        {% endfor %}
        <li>最后修改时间 &nbsp; {{task.edit|date:"Ymd H:i:s"}}</li>
      
        <li><input type="submit" value="我要彻底修改这些信息" > <input type="button" onclick="TaskEdit(this)" value="返回" ></li>
        <input type="hidden" value="{{task_id}}" name="id">
        {% csrf_token %}
    </form>
        <hi/>
        {% for commit in commit_list %}
        <li>{{commit.create_time|date:"Y-m-d H:i:s"}} {{commit.user.first_name}}. {{commit.content}}</li>
        {% endfor %}
    </ul>
</div>
